package com.dgz.springboot18.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection="studentInfo")
public class StudentInfo {

    @Id
    private String stuId;
    private String stuName;  //学生名称
    private String password; //密码

}
